<template>
  <div id="facetoface">
    <div class="main">
      <Row>
        <!-- 大标题 -->
        <Col span="24" class="maxTitle">{{facetoface.maxTitle}}</Col>
      </Row>
      <!-- 循环的黄色小图标和底部文字描述 -->
      <Row type="flex" justify="space-around">
        <Col span="12" class="item" v-for="(item,index) in facetoface.items" :key="index">
          <Row>
            <Col span="24">
              <img :src="item.img" />
            </Col>
          </Row>
          <Row>
            <Col span="24" class="minTitle">
              <!-- 描述的小标题 -->
              <span>{{item.minTitle}}</span>
            </Col>
          </Row>
          <Row>
            <Col span="24" v-html="item.description"></Col>
          </Row>
        </Col>
      </Row>
    </div>
  </div>
</template>

<script>
//导入iview-ui组件
import { Row, Col } from "view-design";

export default {
  name: "facetoface",
  //组件注册
  components: {
    Row,
    Col
  },
  //传入属性
  props:['facetoface'],
  data() {
    return {
      
    };
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>

<style scoped>
/* 局部UI样式修改 */
.main {
  text-align: center;
  font-size: 12px;
  color: #909cb7;
}
.maxTitle {
  font-size: 18px;
  color: #5e5e5e;
  margin: 45px auto 10px;
}
.item {
  padding: 15px;
}
.minTitle {
  font-size: 12px;
  color: #5e5e5e;
  padding: 15px 0 10px 0;
}
</style>